package com.taxshare.purchaser.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.taxshare.mybatis.entity.BaseEntity;
import com.taxshare.purchaser.constant.TableConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
/**
 * @author hjh
 */
@Data
@ApiModel(description = "特殊购方信息表")
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName(TableConstant.T_PURCHASER_INVOICE_BUYER_RULES)
public class InvoiceBuyerRulesEntity extends BaseEntity implements Serializable {
    @ApiModelProperty("特殊购方信息ID")
    @TableId("buyer_rule_id")
    private String buyerRuleId;

    @ApiModelProperty("发票审核规则uuid")
    @TableId("uuid")
    private String uuid;

    @ApiModelProperty("特殊购方票种类型，全部 ->00，专票-> 01，普票-> 02")
    @TableField("buyer_ticket_type")
    private String buyerTicketType;

    @ApiModelProperty("特殊购方敏感抬头")
    @TableField("buyer_sensitive_head")
    private String buyerSensitiveHead;

    @ApiModelProperty("特殊购方不通过原因")
    @TableField("buyer_not_pass_reasons")
    private String buyerNotPassReasons;

    @ApiModelProperty("特殊购方是否开启，0->不开启 1->开启")
    @TableField("buyer_is_open")
    private String buyerIsOpen;

    @ApiModelProperty("审核未通过规则枚举(0 - 已通过)")
    @TableField("force_flag")
    private String forceFlag;

}
